@import './variables';

// 轮播图
.van-swipe__indicator {
  width: 1.5385rem;
  height: 0.3077rem;
  background-color: map-get($colors, 'light');
  border-radius: 3px;
  opacity: 1;
  margin-bottom: 16px;
  &.van-swipe__indicator--active {
    background-color: map-get($colors, 'white');
  }
}

//导航
.van-tabs--line .van-tabs__wrap {
  height: 62px;
  border-bottom: 1px solid #f0f0f0;
}
.van-tab--active {
  color: map-get($colors, 'light');
}
.van-tab {
  display: inline-block;
  padding: 19px;
  position: relative;
  text-align: center;
  font-size: 17px;
  font-weight: bold;
}
.van-tabs__line {
  background: url(../assets/images/sprite.png) no-repeat 0 0;
  background-position: -3px 0px;
  position: absolute;
  bottom: 9px;
  width: 70px;
  height: 11px;
  border-radius: 0px;
}
.van-tabs__nav--line {
  padding-bottom: 8px;
}

// 导航内容
.news ul {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 15px 0;
  line-height: 21px;
}
.news .news_bulletin {
  line-height: 48px;
  font-weight: bold;
}
.news .news_date {
  float: right;
}
.news .news_name {
  display: inline-block;
  text-align: center;
  background: url(../assets/images/sprite1.png) no-repeat 0 0;
  width: 49px;
  height: 21px;
  &.news_name_color1 {
    color: map-get($colors, 'light');
  }
  &.news_name_color2 {
    color: map-get($colors, 'lightGray');
  }
  &.news_name_color3 {
    color: #b52601;
  }
}

// 查看更多按钮
.see_more {
  height: 44px;
  line-height: 38px;
  border: 2px solid #e3e3e3;
  background: url(../assets/images/sprite2.png) no-repeat 0 0;
  background-position: 237px 12px;
}

// 活动列表
.actions_center .van-tab{
  margin: 0px -24px;
}
.list_title .list_details_title {
  height: 42px;
  line-height: 42px;
}
.list_title .list_details_title span {
  display: inline-block;
  width: 25%;
  font-weight: bold;
}
.list_title .list_details li {
  height: 42px;
  line-height: 42px;
  border-bottom: 1px dashed #cecece;
  list-style: none;
}
.list_title .list_details li p {
  display: block;
  width: 25%;
  float: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-top: 6px;
}
.list_title .list_details li p img {
  max-width: 100%;
  height: 22px;
}
// 滚动条
.list_title .list_details .list_details_indicator {
  position: absolute;
  right: 3px;
  top: 1%;
  z-index: 50;
  width: 5px;
  height: 98%;
  background-color: #e3e3e3;
  border-radius: 10px;
}
.list_title .list_details .list_details_indicator .list_details_indicator_actives {
  background: #c9c9c9;
  height: 19.4089px;
  border-radius: 10px;
}

// 视频推荐
.video_rec em{
  width: 23px;
  height: 18px;
  vertical-align: top;
  margin-right: 5px;
  background: url(../assets/images/sprite5.png) no-repeat 0 0;
  display: inline-block;
}

// 图文推荐
.tw_list {
  position: relative;
}
.tw_list .tw_text {
  position: absolute;
  left: 42px;
  top: 34px;
}
.tw_list .tw_text .tw_text_title {
  display: block;
  font-weight: bold;
}
.tw_list .tw_text .tw_text_btn {
  display: block;
  width: 62px;
  line-height: 20px;
  background: url(../assets/images/sprite6.png) no-repeat 0 0;
}

// 明星主播
.star {
  height: 246px;
  position: relative;
}
.star .star_pic {
  z-index: 0;
  filter: blur(4px);
  background-size: cover;
  position: absolute;
}
.star .star_text {
  position: absolute;
}
.star .star_text img {
  border: 4px solid #9b9594;
}
.star .star_text .star_heat {
  background: url(../assets/images/sprite7.png) no-repeat 0 0;
  background-position: 116px 2px;
}
.star .star_text .star_go {
  width: 98px;
  height: 21px;
  border: 1px solid #874d3b;
  margin: 0 auto;
  line-height: 21px;
}
.mode .mode_pic {
  height: 64px;
}
.mode .mode_news .mode_news_list {
  width: 52%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.brand img {
  height: 160px;
}
.foot p {
  overflow: hidden;
  white-space: nowrap;
}
.hero {
    float: left;
    width: 18%;
    &:nth-child(5n) {
      margin-right: 0;
    }
    .avatar-container {
      overflow: hidden;
      .hero-avatar {
        vertical-align: middle;
      }
    }
  }

// 服务中心
.service {
  position:fixed;
  *position:absolute;
  top:50%;
  left:100%;
  margin:-50px 0 0 -70px;
}